package com.lagou.rabbitmqtask.pojo;

import org.apache.ibatis.type.Alias;

import java.util.Date;

@Alias("order")
public class Order {

    private int id;
    private String order_id;
    private Date order_time;
    private Date pay_time;
    private String is_pay;

    public Order() {
    }

    public Order(String order_id, Date order_time) {
        this.order_id = order_id;
        this.order_time = order_time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public Date getOrder_time() {
        return order_time;
    }

    public void setOrder_time(Date order_time) {
        this.order_time = order_time;
    }

    public Date getPay_time() {
        return pay_time;
    }

    public void setPay_time(Date pay_time) {
        this.pay_time = pay_time;
    }

    public String getIs_pay() {
        return is_pay;
    }

    public void setIs_pay(String is_pay) {
        this.is_pay = is_pay;
    }
}
